SELECT
complaintType,
COUNT(*) AS count
FROM
BOMC_CUST
WHERE
task_create_time = DATE_SUB( CURDATE(), INTERVAL 1 DAY )
GROUP BY
complaintType
ORDER BY
count DESC
LIMIT 1